package asteroids.model.programs.Expression;

/**
* 
* @version 0.3
* @author  Tandan Sunil, Van Deun Luca
*
*/
public class Conjunction extends BooleanComparison {

	public Conjunction(int line, int column, Expression e1, Expression e2) {
		super(line, column, e1, e2);
	}
	
	public boolean getBoolean(){
		return (((IBooleanExpression)getFirstExpression()).getBoolean() && ((IBooleanExpression)getSecondExpression()).getBoolean());
		
	}

}
